﻿using System.ComponentModel.DataAnnotations.Schema;

namespace MyWeb.ServiceBus.Model.Models
{
    /// <summary>
    /// 应用系统
    /// </summary>
    [Table("ESB.AppSystem")]
    [SysTable]
    public class AppSystem : Root<long>
    {
        /// <summary>
        /// 组织Id
        /// </summary>
        public long OrgId { get; set; }
        /// <summary>
        /// 系统编码
        /// </summary>
        public string? Code { get; set; }
        /// <summary>
        /// 系统中文名称
        /// </summary>
        public string? CNName { get; set; }
        /// <summary>
        /// 系统中文缩写
        /// </summary>
        public string? CNAbbr { get; set; }
        /// <summary>
        /// 系统英文名称
        /// </summary>
        public string? ENName { get; set; }
        /// <summary>
        /// 系统英文简称
        /// </summary>
        public string? ENAbbr { get; set; }
        /// <summary>
        /// 限流阀值（次/分钟）
        /// </summary>
        public int ThresholdValue { get; set; }
    }
}